package com.meevle.utilities;

import org.red5.core.ApplicationSettings;

public class Counter {

	public static int counter = 0;
	
	private volatile static Counter instance = null;

	private Counter() {
	}

	public static Counter getInstance() {
		if (instance == null) {
			synchronized (Counter.class) {
				if (instance == null)
					instance = new Counter();
			}
		}
		return instance;
	}
	
	public void higher()
	{
		this.counter++;
	}
}
